package cn.lyq.card.ui.customer

import cn.lyq.card.base.SimpleVM


class CustomerVM : SimpleVM() {

    val pageSize = 20

    fun getCommonProblem(page: Int, keyword: String) = simpleEmit {
        repository.userService.getCommonProblem(page, pageSize, keyword)
    }

    fun getAboutUs() = simpleEmit {
        repository.userService.getAboutUs()
    }
}